home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 30 / Amiga Format AFCD30 (Sep 1998, Issue 114).iso / -seriously_amiga- / workbench / explorer / install_explorer < prev    next >
Text File  |  1998-06-18  |  23KB  |  590 lines

  1. ; Installer script for the Diz-Explorer program
  2. ;******************************************************************************
  3. ;     _  _      ____
  4. ;    / \/ \    /___ |   
  5. ;   / /\/\ \     _ ||
  6. ;  / / /\ \ \   |_|||
  7. ; / / /  \ \ \ ____||
  8. ;/_/ /_/\_\ \_\\____|
  9. ;
  10. ; $VER: 3.00_Diz-Explorer_Installer (Nov-24-1997) 
  11. ; If you wish to use any part of this installer you must ask us.
  12. ;
  13. ; Installer    by Jochen Grus & Martin Gentile ©1996, 1997 
  14. ; Diz-Explorer by Jochen Grus ©1997,98 
  15. ; Last Update: MAY-5-1998
  16. ;---------------------------------------
  17. ;        This could be your logo! 
  18. ;           __  __      _______ 
  19. ;          /  \/  \    /_____/ \
  20. ;         /  \  /  \  /  \  /  /
  21. ;        /  / \/ \  \/ /\ \/  / 
  22. ;       /  /  /  -\  \ \/ /  /  
  23. ;      /  /  /  __    \__/  /   
  24. ;      \_/  /__/  \_/\_____/    
  25. ;
  26. ;     Explorer 4.0 Demo-Version 
  27. ;
  28. ;             © 1998 by: 
  29. ;
  30. ;   Jochen Grus and Martin Gentile
  31. ;---------------------------------------
  32. ;******************************************************************************
  33. (procedure Explor (set JOH 1) ( (while (< JOH 4444)  (set JOH (+ JOH 1)) )  ) )
  34.  
  35. (procedure InformX
  36. (working (cat "\n\n"
  37.               " LHA  TAR\n"
  38.               " LZX  TGZ\n"
  39.               " DMS  EXE\n"
  40.               " ARJ  SIT\n"
  41.               " ARC  LZH\n"
  42.               " ZOO  RAR\n"
  43.               " ZIP  LZ\n"
  44.               " \n"
  45.          )           
  46. )
  47. )
  48. (procedure InformY
  49. (working (cat "\n\n"
  50.               "\n"
  51.               "\n"
  52.               "Diz-Explorer Pro Version 4.0 Beta\n"
  53.               "\n"
  54.               "by\n"
  55.               "\n"
  56.               "   Jochen Grus & Martin Gentile   \n"
  57.               "\n"
  58.          )           
  59. )
  60. )
  61. (InformY)
  62.  
  63. (Explor)(Explor)
  64. (InformX)(Explor)
  65. (InformY)(Explor) (InformX)(Explor)
  66. (InformY)(Explor) (InformX)(Explor)
  67. (InformY)(Explor) (InformX)(Explor)
  68. (InformY)(Explor) (InformX)(Explor)
  69. (InformY)(Explor) (InformX)(Explor)
  70. (InformY)(Explor) (InformX)(Explor)
  71. (InformY)(Explor) (InformX)(Explor)
  72. (InformY)(Explor) (Explor) (Explor)
  73.  
  74. ;*** System Stuff ***
  75. (set cpu (database "cpu"))  (set vblank (database "vblank"))
  76. (set graphmem (database "graphics-mem")) (set totmem (database "total-mem"))
  77. (set osver (/ (getversion "LIBS:version.library") 65536))
  78. (if (= vblank "60") ((set blank "NTSC")) ((set blank "PAL")))
  79. (set fastmem (- totmem graphmem))
  80.  
  81. (if (= osver 37) (set workbench "2.0")) (if (= osver 38) (set workbench "2.1"))
  82. (if (= osver 39) (set workbench "3.0")) (if (= osver 40) (set workbench "3.1"))
  83. (if (= osver 41) (set workbench "3.5"))
  84.  
  85. (set cpu (database "cpu"))
  86. (if (= cpu 68000) (set #cpu 0)) (if (= cpu 68010) (set #cpu 1))
  87. (if (= cpu 68020) (set #cpu 2)) (if (= cpu 68030) (set #cpu 3))
  88. (if (= cpu 68040) (set #cpu 4)) 
  89. (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 5) )
  90. (if (> (exists ("sys:libs/ppc.library")) 0) (set #cpu 6) )
  91.  
  92. (if (> cpu 68010)  (set #fpuGuess 0)  (set #fpuGuess 1) )
  93.    
  94. (set vernum1 (getversion "Explorer")) (set ver2 (/ vernum1 65536)) 
  95. (set rev1 (- vernum1 (* ver1 65536) ) ) (set Explorerver (cat ver1 "4.0 Beta" rev1))
  96.  
  97. (if (> (exists ("env:Language")) 0) (set lanfound (getenv "Language")) )
  98. (set lan 0)
  99.  
  100. (if (= "english"     lanfound) (set lan 0))
  101. (if (= "deutsch"     lanfound) (set lan 1))
  102. (if (= "italiano"    lanfound) (set lan 2)) 
  103. (if (= "francais"    lanfound) (set lan 3)) 
  104. (if (= "svenska"     lanfound) (set lan 4)) 
  105. (if (= "norsk"       lanfound) (set lan 5)) 
  106. (if (= "nederlands"  lanfound) (set lan 6)) 
  107. (if (= "dansk"       lanfound) (set lan 7)) 
  108.  
  109. (set #English       "English")
  110. (set #Deutsch       "Deutsch")
  111. (set #Italiano     "Italiano")
  112. (set #Francais     "Francais")
  113. (set #Svenska       "Svenska")
  114. (set #Norsk           "Norsk")
  115. (set #Nederlands "Nederlands")
  116. (set #Dansk           "Dansk")
  117.  
  118. (set mfound 0) (set newicon1 1) 
  119. (set keeper 1) (set firsttime 0)
  120.  
  121. ;***********************************************************************
  122. ; The English Installation Strings
  123. ;***********************************************************************
  124. (set #about (cat "\n\n\n\nWelcome to the Diz-Explorer PRO Version " Explorerver "\n\n\nCopyright © 1997,98 by\n\nJochen Grus & Martin Gentile\n") )
  125. (set #aboutpacker (cat "\n\n\n\nNow you should copy all packers to the >C< directory. Before the installation you should check the versions! ") )
  126. (set #aboutdevices (cat "\n\n\n\nNow you should copy all devices to the >DEVS< directory. Before the installation you should check the versions! ") )
  127. (set #aboutlhacheck (cat "\n\n\n\n                - W A R N I N G -               Installation found the following file in the C-directory: LHACHECK. You should delete this file because it has the BBS-Trojan VIRUS!!! ") )
  128. (set #askcpu "\nThe installer has found the following CPU:\n")
  129. (set #askcpu2 "\nThe installer program has found a CPU. The installer should show correctly what kind of cpu is installed...\n")
  130. (set #whereExplorer "Where do you wish to install the Diz-Explorer. A directory called 'Explorer' will be created if one is not there. If a copy of Explorer is found it will be backed up.")
  131. (set #filethere1 "\n\nThe installer has found an Explorer version ")
  132. (set #filethere2 " at ")
  133. (set #filethere3 "\n\nThe file will be renamed to ")
  134. (set #filethere4 " and it will then be moved to ")
  135. (set #backuptoXXX "Back-UP to file named 'Diz-Explorer.")
  136. (set #copyover "Copy Over Old Version")
  137. (set #oktodelete1 "\nIs it ok to delete the older Diz-Explorer binary so that the Explorer Directory can be made?\n")
  138. (set #oktodelete2 "\nIs it ok to delete the older _renamed_ Explorer binary so that the Explorer Directory can be made?\n")
  139. (set #Explorerfound "\nThe Installer has found a copy of Explorer already installed. What do you want to do?\n")
  140. (set #newicon "\nDo you wish to copy over The Diz-Explorer Icon from the archive? If you have any ToolTypes already set you should select no.\n")
  141. (set #nonewicon  "No  - ToolTypes already set.")
  142. (set #yesnewicon "Yes - Copy over the old DIZ-Explorer Icon.")
  143. (set #whatcat "\nSelect the Explorer Language catalog you wish to install.\n")
  144. (set #wherecat "\nWhere do you wish to install the Explorer Language Catalog? There is no need for it yet. Default is ")
  145. (set #catnofind "Can not find this catalog in this Explorer archive. No need for it yet.")
  146. (set #whatdocs "\nWhat Explorer documentation would you like to install?\n")
  147. (set #wheredocs "Where would you like the Explorer documentation you selected to be installed?")
  148. (set #byebye (cat "\nDiz-Explorer Install Complete!\n\n" ))
  149. (set #setup_help
  150.         (cat
  151.             "Explorer needs an Assign in main directory to "
  152.             "properly setup. If you skip this pass you MUST "
  153.             "manually enter it later in your User-StartUp or "
  154.             "in a shell prior to run Explorer."
  155.         )
  156.     )
  157.  
  158.  
  159.  
  160. ;***********************************************************************
  161. ; The German Installation Strings for the Diz-Explorer
  162. ;***********************************************************************
  163.  
  164. (if (= lan 1)
  165. (
  166.  (set po 1)
  167.  
  168. (set #about (cat "\n\n\n\nWillkommen zum DIZ-Explorer PRO Version " Explorerver "\n\n\nCopyright © 1997,98 by\n\nJochen Grus & Martin Gentile\n") )
  169. (set #aboutpacker (cat "\n\n\n\nJetzt sollten Sie alle Packer in das >C< Verzeichnis installieren. Man sollte vorher die Versionen überprüfen! Es sind aber alle aktuellen Packer hier vorhanden! ") )
  170. (set #aboutdevices (cat "\n\n\n\nJetzt sollten Sie alle Devices in das >Devs< Verzeichnis installieren. Man sollte vorher die Versionen überprüfen! Es sind aber alle aktuellen Devices hier vorhanden! ") )
  171. (set #aboutlhacheck (cat "\n\n\n\n                - W A R N U N G -                                                                     Installation hat folgende Datei im C-Verzeichnis gefunden: LHACHECK. Sie sollten diese Datei entfernen, da es den VIRUS BBS-Trojan enthält!!! ") )
  172. (set #askcpu "\nFolgender Prozessor wurde vom Installer erkannt:\n")
  173. (set #askcpu2 "\nDer Installer hat einen Prozessor gefunden. Es müßte den richtigen Typ korrekt erkannt haben! \n")
  174. (set #whereExplorer "Wohin wollen Sie den DIZ-Explorer installieren ? Ein Verzeichnis 'Explorer' wird erzeugt, wenn es nicht existiert. Wenn bereits eine Explorer Version vorhanden ist, kann diese gesichert werden.")
  175. (set #filethere1 "\n\nDas Installationsprogramm hat eine Explorer Version gefunden")
  176. (set #filethere2 " at ")
  177. (set #filethere3 "\n\nDie Datei wird umbenannt in ")
  178. (set #filethere4 " und wird dann verschoben nach ")
  179. (set #backuptoXXX "sichern als Datei 'Diz-Explorer.")
  180. (set #copyover "alte Version überschreiben")
  181. (set #oktodelete1 "\nSind Sie damit einverstanden, daß das alte Diz-Explorer Hauptprogramm gelöscht, so daß das Explorer Verzeichnis erstellt werden kann?\n")
  182. (set #oktodelete2 "\nSind Sie damit einverstanden, daß das alte _umbenannte_ Explorer Hauptprogramm gelöscht wird, so daß das Explorer Verzeichnis erstellt werden kann?\n")
  183. (set #Explorerfound "\nDas Installationsprogramm hat bereits eine installierte Explorer Version gefunden. Was wollen Sie tun?\n")
  184. (set #newicon "\nWollen Sie das Diz-Explorer Piktogramm aus dem Archiv übernehmen? Wenn Sie bereits die Programmmerkmale verändert haben, wählen Sie bitte Nein.\n")
  185. (set #nonewicon  "Nein  - Programmmerkmale verändert.")
  186. (set #yesnewicon "Ja - Überschreibe das alte DIZ-Explorer Icon.")
  187. (set #whatcat "\nWählen Sie die Sprache, die installiert werden soll.\n")
  188. (set #wherecat "\nWohin wollen Sie die Explorer Sprachdatei installieren? Wird noch nicht gebraucht. Eingestellt ist ")
  189. (set #catnofind "Ich kann die passende Sprachdatei im Archiv nicht finden. Wird noch nicht gebraucht.")
  190. (set #whatdocs "\nWelche Anleitung zum Explorer wollen Sie installieren ?\n")
  191. (set #wheredocs "Wohin wollen Sie die gewählte Anleitung kopieren?")
  192. (set #byebye (cat "\nDie DIZ-Explorer Installation wurde erfolgreich abgeschlossen!""\n\nViel Spaß beim Entdizzen...\n\n" ))
  193. (set #setup_help
  194.         (cat
  195.             "Der Explorer braucht ein Assign um richtig arbeiten "
  196.             "zu können. Wenn Sie jetzt abbrechen müssen Sie später "
  197.             "diese Einträge manuell in der User-StartUp vornehmen "
  198.             "oder im Shell ein Assign herstellen um mit dem Explorer "
  199.                         "arbeiten zu können. "
  200.         )
  201.     )
  202.  
  203. ;***********************************************************************
  204. ; The Italiano Installation Strings
  205. ;***********************************************************************
  206. ;(set #setup1
  207. ;    (cat
  208. ;        "Per preparare l'ambiente del Explorer DEVO modificare la tua "
  209. ;        "User-StartUp aggiungendo i seguenti comandi:\n\n"
  210. ;    )
  211. ;)
  212. ;
  213. ;(set #setup2    "Se salti questo passo DOVRAI inserirli manualmente più tardi.")
  214. ;
  215. ;(set #setup_help
  216. ;    (cat
  217. ;        "Explorer necessita di un assegnamento alla sua directory "
  218. ;        "principale al fine di funzionare correttamente. Se "
  219. ;        "salti questo passo DOVRAI inserirlo manualmente nella "
  220. ;        "tua User-StartUp o in una shell prima di eseguire il Explorer."
  221. ;    )
  222. ;)
  223. ;
  224. ;Please make your own Strings for the installation...  Si! I will do it!
  225. ;
  226. ;***********************************************************************
  227. ; The Francais Installation Strings
  228. ;***********************************************************************
  229. ;
  230. ;Please make your own Strings for the installation..  Qui! je vais le faire!
  231. ;
  232. ;***********************************************************************
  233. ; The Svenska Installation Strings
  234. ;***********************************************************************
  235. ;
  236. ;Please make your own Strings for the installation...  Yo! I will do it!
  237. ;
  238. ;***********************************************************************
  239. ; The Norsk Installation Strings
  240. ;***********************************************************************
  241. ;
  242. ;Please make your own Strings for the installation...  Yo! I will do it!
  243. ;
  244. ;***********************************************************************
  245. ; The Nederlands Installation Strings
  246. ;***********************************************************************
  247. ;
  248. ;Please make your own Strings for the installation...  Yo! Ick do dat!
  249. ;
  250. ;***********************************************************************
  251. ; The Dansk Installation Strings
  252. ;***********************************************************************
  253. ;
  254. ;Please make your own Strings for the installation...  Yo! I will do it!
  255. ;
  256.  
  257. )
  258. )
  259.  
  260. ;***********************************************************************
  261. ; Tach Mädelz and Jungz !
  262. ;***********************************************************************
  263. (message #about)
  264. (welcome) 
  265. ;********************************************************************
  266. ; Checking the CPU - Hello CPU are you there???
  267. ;********************************************************************
  268.   (set cpu (database "cpu"))
  269. (if (= cpu 68000) (set #cpu 0)) (if (= cpu 68010) (set #cpu 0))
  270. (if (= cpu 68020) (set #cpu 0)) (if (= cpu 68030) (set #cpu 0))
  271. (if (= cpu 68040) (set #cpu 1)) (if (= cpu 68060) (set #cpu 1)) 
  272. (if (= @installer-version 0)
  273.   (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 1) )
  274.   (if (= cpu 68060) (set #cpu 1))
  275.   (if (> (exists ("sys:libs/ppc.library")) 0) (set #cpu 2) )
  276.   (if (= cpu 68060) (set #cpu 1))
  277. )
  278.  
  279. (set cpuPick (askchoice (choices "68020 or 68030" "68040 or 68060" "PC603 or PC604")
  280.             (prompt #askcpu)
  281.                     (help   #askcpu2)
  282.                   (default #cpu)
  283.       )
  284. )
  285.  
  286. (if (= cpuPick 0) (set cpuadd ".020")) (if (= cpuPick 1) (set cpuadd ".040")) (if (= cpuPick 2) (set cpuadd ".ppc"))
  287.  
  288. ;***********************************************************************
  289. ; Ask where to put the DIZ-EXPLORER & Make w new directory if needed
  290. ;***********************************************************************
  291. (set Explorerdir  (askdir (prompt #whereExplorer)
  292.                 (help   #whereExplorer)
  293.                      (default "SYS:")
  294.                )  
  295. )
  296.  
  297. (set where Explorerdir)
  298.  
  299. ;***********************************************************************
  300. ; Check to see if the DIZ-EXPLORER is already there, if so ask to backup
  301. ;***********************************************************************
  302. (if (= 1 (exists (tackon where "Explorer") ) ) 
  303.   (
  304.     (set vernum1 (getversion (tackon where "Explorer") ))
  305.     (set ver1 (/ vernum1 65536)) (set rev1 (- vernum1 (* ver1 65536) ) )
  306.     (set Explorer_old (cat ver1 "." rev1))
  307.  
  308.     (message (cat #filethere1 ver1 "." rev1 #filethere2 where #filethere3 
  309.                   (cat "Explorer" Explorer_old) #filethere4 (tackon Explorerdir "Explorer") )
  310.     )
  311.     
  312.  
  313.     (copyfiles (source (tackon where "Explorer"))
  314.                (dest where) 
  315.                (infos)
  316.                (newname (cat "Explorer." Explorer_old))
  317.     )
  318.     
  319.     (delete (tackon Explorerdir "Explorer") (prompt #oktodelete1) (help #oktodelete1) (confirm) (infos)) 
  320.  
  321.     (if (< (exists (tackon Explorerdir "Explorer")) 2) (makedir (tackon Explorerdir "Explorer") (infos)) )    
  322.  
  323.     (copyfiles (source (tackon where (cat "Explorer." Explorer_old) ))
  324.                        (dest (tackon Explorerdir "Explorer")) 
  325.                        (infos)
  326.                
  327.     )
  328.  
  329.     (delete (tackon where (cat "Explorer" Explorer_old)) (prompt #oktodelete2) (help #oktodelete2) (confirm) (infos) ) 
  330.  
  331.     ;(set firsttime 1)
  332.  
  333.   )
  334. )
  335.  
  336. (if (< (exists (tackon Explorerdir "Explorer")) 2) (makedir (tackon Explorerdir "Explorer") (infos)) )
  337. (set where (tackon Explorerdir "Explorer"))
  338. (set @default-dest where)
  339.  
  340. ;********************************************************************
  341. ; Check for the old one and backup it or not...
  342. ;********************************************************************
  343. (if (exists (tackon where "Explorer")) 
  344.   (
  345.       (set vernum1 (getversion (tackon where "Explorer") ))
  346.       (set ver1 (/ vernum1 65536)) (set rev1 (- vernum1 (* ver1 65536) ) )
  347.       (set Explorer_old (cat ver1 "2." rev1))
  348.  
  349.       (set keeper  (askchoice (choices  (cat #backuptoXXX Explorer_old "'")  #copyover)
  350.                      (prompt #Explorerfound)
  351.                  (help   #Explorerfound)
  352.                      (default 0)
  353.                )
  354.       )    
  355.  
  356.  
  357.       (if (= keeper 0)
  358.          (copyfiles (source (tackon where "Explorer"))
  359.                      (dest where) 
  360.                      (infos)
  361.                      (newname (cat "Explorer" Explorer_old))
  362.          )
  363.       )          
  364.  
  365.       (set firsttime 1)
  366.     
  367.   )
  368. )
  369.  
  370. ;********************************************************************
  371. ; Copy over the old Explorer file and Icon if wanted (Sure!)
  372. ;********************************************************************
  373. (copyfiles (source "Explorer") (dest where) (optional "nofail") )
  374.  
  375.  
  376. (if (= firsttime 0)  (copyfiles (source "Explorer.info") (dest where) (optional "nofail") ) )
  377.  
  378.  
  379. (if (OR (= keeper 0) (= (exists (tackon where "Explorer.info")) 0))
  380.   (
  381.   
  382.    (set newicon (askchoice (choices #yesnewicon #nonewicon)
  383.                            (prompt #newicon)
  384.                        (help   #newicon)
  385.                            (default 0)
  386.             )
  387.    )
  388.   
  389.    (if (= newicon 0) 
  390.      (copyfiles (source "Explorer.info") (dest where)  (optional "nofail") )
  391.    )
  392.  
  393.   )
  394.  
  395. )
  396.  
  397. ;********************************************************************
  398. ; Select and copy the packers to the C-Directory...     Goil
  399. ;********************************************************************
  400. (message #aboutpacker)
  401.   ((makedir (tackon Explorerdir "Explorer/Extras") (infos) ) 
  402.  
  403.     (copyfiles
  404.       (prompt "Copying the packers")
  405.       (source "ram:explorer/c")
  406.       (all)
  407.       (dest "c:")
  408.       (confirm)
  409.       (help 
  410.         "This will copy the packers to the >C< directory. "
  411.         "If you copy it to the SYS:c directory, it will not check if there are newer versions! "
  412.         "But normally these are the right versions for you... "
  413.       )
  414.     )
  415. )
  416.  
  417. ;********************************************************************
  418. ; Checking the C-Directory for LhaCheck - Oh no... 
  419. ;********************************************************************
  420.    (if (exists "c:lhacheck")
  421. (message #aboutlhacheck))
  422.  
  423. ;********************************************************************
  424. ; Select and copy the devices to the Devs-Directory...   Joh Mann!  
  425. ;********************************************************************
  426. (message #aboutdevices)
  427.  
  428.   (
  429.     (copyfiles
  430.       (prompt "Copying the FMS- and DMS-Device")
  431.       (source "ram:explorer/devs")
  432.       (all)
  433.       (dest "devs:")
  434.       (confirm)
  435.       (help 
  436.         "This will copy the FMS- and the DMS-device to the >DEVS< directory. "
  437.         "If you copy it to the SYS:Devs directory, it will not check if there are newer versions! "
  438.         "But normally these are the right versions for you... "
  439.       )
  440.     )
  441. )
  442.  
  443. ;********************************************************************
  444. ; Ask and copy the documentations if wanted!
  445. ;********************************************************************
  446. (set docs (askoptions (choices " Explorer.guide" " Explorer_Short.guide" " Example-Amiga.list" " Example-PC.list")
  447.               (prompt #whatdocs)
  448.                       (help #whatdocs)
  449.       )
  450. )
  451.  
  452. (if (<> docs 0)
  453.  (
  454.    (set docsdir (askdir (prompt #wheredocs)
  455.                (help   #wheredocs)
  456.                     (default where)
  457.                 )  
  458.    )
  459.    (copyfiles (source "Ram:Explorer/Extras") (dest (tackon where "Extras")) (all))
  460.    (if (IN docs 0) (copyfiles (source "Explorer.guide") (dest docsdir) (infos) (optional "nofail") ) )
  461.    (if (IN docs 0) (copyfiles (source "Explorer_short.guide") (dest docsdir) (infos) (optional "nofail") ) )
  462.    (run (cat "run SYS:utilities/AmigaGuide ram:explorer/explorer_short.guide") )
  463.  
  464.  )
  465.  
  466. )
  467. ;********************************************************************
  468. ; Modify User-Startup   - Wow! It work`s...
  469. ;********************************************************************
  470. (set #setup1
  471.         (cat "\n\n\nTo get Explorer work right there has to be made "
  472.         "some changes to your User-Startup !\n\n"
  473.         command1
  474.         )
  475. )
  476.  
  477. (if (= @language "deutsch") (
  478.  
  479. (set #setup1
  480.         (cat "\n\n\nUm mit Explorer richtig arbeiten zu können, muß "
  481.         "eine Änderung an der User-Startup vorgenommen werden.\n\n"
  482.         command1
  483.         )
  484. )
  485. ))
  486. (set #setup2
  487.         (cat
  488.             "If you skip this pass you MUST manually enter "
  489.             "it later."
  490.         )
  491.     )
  492.  
  493. (if (= @language "deutsch") (
  494.  
  495. (set #setup2
  496.         (cat
  497.             "Wenn Sie jetzt abrechen, müßen sie später die Änderung "
  498.             "manuell vornehmen !"
  499.         )
  500.     )
  501. ))
  502.  
  503. (startup "Explorer"
  504.         (prompt
  505.             (cat
  506.                 #setup1
  507.                 "Assign Explorer: \"" @default-dest "\"\n"
  508.                 "Path Explorer: ADD\n\n"
  509.                 #setup2
  510.             )
  511.         )
  512.         (help #setup_help)
  513.         (command
  514.             "Assign Explorer: \"" @default-dest "\"\n"
  515.             "Path Explorer: ADD\n"
  516.         )
  517.     )
  518.  
  519.  
  520. (working "\nDeleteing temporary files.")
  521. (run "Delete RAM:Explorer ALL FORCE QUIET")
  522. (run "Delete RAM:Explorer/c ALL FORCE QUIET")
  523. (run "Delete RAM:Explorer.info ALL FORCE QUIET")
  524.  
  525. (set #endnow (cat "Installation of Explorer completed.\n"
  526.     "When the lines:\n" command1 "\ndoesn`t appear "
  527.     "in your Startup-Sequence or User-Startup, "
  528.     "please do it manually.\n\n"
  529.     "Best wishes...\n\n"
  530.     "Jochen Grus & Martin Gentile"
  531.     ))
  532.  
  533. (if (= @language "deutsch") (
  534.  
  535.     (set #endnow (cat "\nInstallation von Explorer beendet.\n\n"
  536.         "Falls die Zeilen:\n" #setup1 "\nnicht in Ihre Startup-Sequence bzw. "
  537.         "User-Startup eingefügt wurde, dann holen Sie dies bitte nach.\n\n"
  538.         "\n\nWir wünschen ihnen viel Erfolg mit den Explorer!\n\n"
  539.         "Jochen Grus & Martin Gentile"
  540.     ))
  541. ))
  542.  
  543. ;********************************************************************************
  544. ; Ende - Bye - Fin - Finito - Fuck i must go now - see u in the next whisky bar. 
  545. ;********************************************************************************
  546.  
  547. (procedure Explor (set JOH 1) ( (while (< JOH 4444)  (set JOH (+ JOH 1)) )  ) )
  548.  
  549. (procedure InformX
  550. (working (cat "\n\n"
  551.               " LHA  TAR\n"
  552.               " LZX  TGZ\n"
  553.               " DMS  EXE\n"
  554.               " ARJ  SIT\n"
  555.               " ARC  LZH\n"
  556.               " ZOO  RAR\n"
  557.               " ZIP  LZ\n"
  558.               " \n"
  559.          )           
  560. )
  561. )
  562. (procedure InformY
  563. (working (cat "\n\n"
  564.               "\n"
  565.               "\n"
  566.               "Diz-Explorer Pro Version 4.0 Beta\n"
  567.               "\n"
  568.               "by\n"
  569.               "\n"
  570.               "   Jochen Grus & Martin Gentile   \n"
  571.               "\n"
  572.          )           
  573. )
  574. )
  575. (InformY)
  576.  
  577. (Explor)(Explor)
  578. (InformX)(Explor)
  579. (InformY)(Explor) (InformX)(Explor)
  580. (InformY)(Explor) (InformX)(Explor)
  581. (InformY)(Explor) (InformX)(Explor)
  582. (InformY)(Explor) (InformX)(Explor)
  583. (InformY)(Explor) (InformX)(Explor)
  584. (InformY)(Explor) (InformX)(Explor)
  585. (InformY)(Explor) (InformX)(Explor)
  586. (InformY)(Explor) (Explor) (Explor)
  587.  
  588. (exit #byebye)
  589.